<?php
print $this->doctype ();
$this->is_home = Zend_Registry::get ( 'IsHome' );
?>
<html>
<head>
		<?php
		print $this->headTitle ();
		?>
		<?php
		print $this->headMeta ();
		?>
		<?php
		print $this->headLink ();
		?>
		<!--[if lt IE 8]><link href="/styles/iefix.css" media="screen" rel="stylesheet" type="text/css"><![endif]-->
		<?php
		print $this->headScript ();
		?>
		<script type="text/javascript">
			window['language'] = '<?php
			print Zend_Registry::get ( 'lang' );
			?>';
		</script>
</head>
<body>
<div id="view-port" <?php if ($this->is_home) print 'class="home"'?>>
<!--  			<div id="top-panel"><?php print $this->renderControl ( 'topPanel' )?></div>-->
<div id="wrapper">
	<div id="header"><?php print $this->renderControl ( $this->is_home ? 'homeHeader' : 'header' )?></div>
	<?php	print $this->layout ()->content;?>
</div>
<div id="footer"><?php
print $this->renderControl ( 'footer' )?></div>
<div id="copy-right"><?php
print $this->renderControl ( 'copyRight' )?></div>
</div>
<?php
    if (!$this->is_home)
        print ' <div id="footer_f_pics"></div> ';?>

		<?php
		print $this->renderControl ( 'modalTamplate' )?>
	</body>
</html>